"use strict";
cc._RF.push(module, 'ed7621LDypJmImLk2rFCl7v', 'MyButton');
// prefabScript/MyButton.js

'use strict';

var ps = require('PublicScript');
cc.Class({
    extends: cc.Component,

    properties: {
        MyButton: {
            default: null,
            type: cc.Prefab
        },
        ActiveButton: {
            default: null,
            type: cc.Button
        }
    },

    onLoad: function onLoad() {
        // 设置事件
        this.ActiveButton.node.on(cc.Node.EventType.TOUCH_START, function (event) {
            ps.xStop = 0;
            cc.director.loadScene('game');
        }, this);
    },
    start: function start() {}
});

cc._RF.pop();